import Sequelize from 'sequelize'
import sequelize from '../../sequelize'

const User = sequelize.local.define('user', {
  // attributes
  firstName: {
    type: Sequelize.STRING,
    allowNull: false
  },
  lastName: {
    type: Sequelize.STRING
    // allowNull defaults to true
  }
}, {
  // options
})
export default User
